function [x_De_mat] = De_mat(x)
x_De_mat=[(30900035715821/993714441000) + (600883282/993714441).*cos(2.*(x( ...
  3) + x(4) + x(5) + x(6))) + (-471/35311).*sin(2.*(x(3) + x(4) + x( ...
  5) + x(6))),(471/35311).*cos(2.*(x(3) + x(4) + x(5) + x(6))) + ( ...
  600883282/993714441).*sin(2.*(x(3) + x(4) + x(5) + x(6))),( ...
  -151947620378621417/99371444100000000).*cos(x(3)) + ( ...
  -3554937647623919309/310535762812500000).*cos(x(3) + x(4)) + ( ...
  -3067160373582823889/310535762812500000).*cos(x(3) + x(4) + x(5))  ...
  + (-19281354691383/5509250000000).*cos(x(3) + x(4) + x(5) + x(6))  ...
  + (-152624353628/621071525625).*cos(x(3) + x(4) + x(5) + 2.*x(6))  ...
  + (-152624353628/621071525625).*cos(x(3) + x(4) + 2.*(x(5) + x(6)) ...
  ) + (-38156088407/1242143051250).*cos(x(3) + 2.*(x(4) + x(5) + x( ...
  6))) + (862565871/312500000).*cos(x(3) + x(4) + x(5) + x(6) + (-1) ...
  .*x(7)) + (371703251/312500000).*cos(x(3) + x(4) + x(5) + x(6) + ( ...
  -1).*x(7) + (-1).*x(8)) + (5056343/100000000).*cos(x(3) + x(4) +  ...
  x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + ( ...
  -13180101/100000000).*sin(x(3)) + (1182681/353110000).*sin(x(3) +  ...
  x(4) + x(5) + x(6)) + (119634/22069375).*sin(x(3) + x(4) + x(5) +  ...
  2.*x(6)) + (119634/22069375).*sin(x(3) + x(4) + 2.*(x(5) + x(6)))  ...
  + (59817/88277500).*sin(x(3) + 2.*(x(4) + x(5) + x(6))) + ( ...
  -13180101/100000000).*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + ...
   (-1).*x(8) + (-1).*x(9)),( ...
  -3554937647623919309/310535762812500000).*cos(x(3) + x(4)) + ( ...
  -3067160373582823889/310535762812500000).*cos(x(3) + x(4) + x(5))  ...
  + (-19281354691383/5509250000000).*cos(x(3) + x(4) + x(5) + x(6))  ...
  + (-152624353628/621071525625).*cos(x(3) + x(4) + x(5) + 2.*x(6))  ...
  + (-152624353628/621071525625).*cos(x(3) + x(4) + 2.*(x(5) + x(6)) ...
  ) + (862565871/312500000).*cos(x(3) + x(4) + x(5) + x(6) + (-1).* ...
  x(7)) + (371703251/312500000).*cos(x(3) + x(4) + x(5) + x(6) + ( ...
  -1).*x(7) + (-1).*x(8)) + (5056343/100000000).*cos(x(3) + x(4) +  ...
  x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + ( ...
  1182681/353110000).*sin(x(3) + x(4) + x(5) + x(6)) + ( ...
  119634/22069375).*sin(x(3) + x(4) + x(5) + 2.*x(6)) + ( ...
  119634/22069375).*sin(x(3) + x(4) + 2.*(x(5) + x(6))) + ( ...
  -13180101/100000000).*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + ...
   (-1).*x(8) + (-1).*x(9)),( ...
  -3067160373582823889/310535762812500000).*cos(x(3) + x(4) + x(5))  ...
  + (-19281354691383/5509250000000).*cos(x(3) + x(4) + x(5) + x(6))  ...
  + (-152624353628/621071525625).*cos(x(3) + x(4) + x(5) + 2.*x(6))  ...
  + (862565871/312500000).*cos(x(3) + x(4) + x(5) + x(6) + (-1).*x( ...
  7)) + (371703251/312500000).*cos(x(3) + x(4) + x(5) + x(6) + (-1) ...
  .*x(7) + (-1).*x(8)) + (5056343/100000000).*cos(x(3) + x(4) + x(5) ...
   + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + ( ...
  1182681/353110000).*sin(x(3) + x(4) + x(5) + x(6)) + ( ...
  119634/22069375).*sin(x(3) + x(4) + x(5) + 2.*x(6)) + ( ...
  -13180101/100000000).*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + ...
   (-1).*x(8) + (-1).*x(9)),(1/1945371267500000000).*(( ...
  -6808439155074251130).*cos(x(3) + x(4) + x(5) + x(6)) + 22037.*( ...
  243664507767048.*cos(x(3) + x(4) + x(5) + x(6) + (-1).*x(7)) +  ...
  105001707968488.*cos(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1) ...
  .*x(8)) + 4463613191825.*cos(x(3) + x(4) + x(5) + x(6) + (-1).*x( ...
  7) + (-1).*x(8) + (-1).*x(9)) + 295670250000.*sin(x(3) + x(4) + x( ...
  5) + x(6)) + (-11635063660275).*sin(x(3) + x(4) + x(5) + x(6) + ( ...
  -1).*x(7) + (-1).*x(8) + (-1).*x(9)))),(1/2500000000).*(( ...
  -6900526968).*cos(x(3) + x(4) + x(5) + x(6) + (-1).*x(7)) + ( ...
  -2973626008).*cos(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).* ...
  x(8)) + (-28775).*(4393.*cos(x(3) + x(4) + x(5) + x(6) + (-1).*x( ...
  7) + (-1).*x(8) + (-1).*x(9)) + (-11451).*sin(x(3) + x(4) + x(5) + ...
   x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)))),(1/2500000000).*(( ...
  -2973626008).*cos(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).* ...
  x(8)) + (-28775).*(4393.*cos(x(3) + x(4) + x(5) + x(6) + (-1).*x( ...
  7) + (-1).*x(8) + (-1).*x(9)) + (-11451).*sin(x(3) + x(4) + x(5) + ...
   x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)))),(-1151/100000000) ...
  .*(4393.*cos(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + ...
   (-1).*x(9)) + (-11451).*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x( ...
  7) + (-1).*x(8) + (-1).*x(9)));(471/35311).*cos(2.*(x(3) + x(4) +  ...
  x(5) + x(6))) + (600883282/993714441).*sin(2.*(x(3) + x(4) + x(5)  ...
  + x(6))),(30900035715821/993714441000) + (-600883282/993714441).* ...
  cos(2.*(x(3) + x(4) + x(5) + x(6))) + (471/35311).*sin(2.*(x(3) +  ...
  x(4) + x(5) + x(6))),(13180101/100000000).*cos(x(3)) + ( ...
  -1182681/353110000).*cos(x(3) + x(4) + x(5) + x(6)) + ( ...
  -119634/22069375).*cos(x(3) + x(4) + x(5) + 2.*x(6)) + ( ...
  -119634/22069375).*cos(x(3) + x(4) + 2.*(x(5) + x(6))) + ( ...
  -59817/88277500).*cos(x(3) + 2.*(x(4) + x(5) + x(6))) + ( ...
  13180101/100000000).*cos(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) +  ...
  (-1).*x(8) + (-1).*x(9)) + (-151947620378621417/99371444100000000) ...
  .*sin(x(3)) + (-3554937647623919309/310535762812500000).*sin(x(3)  ...
  + x(4)) + (-3067160373582823889/310535762812500000).*sin(x(3) + x( ...
  4) + x(5)) + (-19281354691383/5509250000000).*sin(x(3) + x(4) + x( ...
  5) + x(6)) + (-152624353628/621071525625).*sin(x(3) + x(4) + x(5)  ...
  + 2.*x(6)) + (-152624353628/621071525625).*sin(x(3) + x(4) + 2.*( ...
  x(5) + x(6))) + (-38156088407/1242143051250).*sin(x(3) + 2.*(x(4)  ...
  + x(5) + x(6))) + (862565871/312500000).*sin(x(3) + x(4) + x(5) +  ...
  x(6) + (-1).*x(7)) + (371703251/312500000).*sin(x(3) + x(4) + x(5) ...
   + x(6) + (-1).*x(7) + (-1).*x(8)) + (5056343/100000000).*sin(x(3) ...
   + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)),( ...
  -1182681/353110000).*cos(x(3) + x(4) + x(5) + x(6)) + ( ...
  -119634/22069375).*cos(x(3) + x(4) + x(5) + 2.*x(6)) + ( ...
  -119634/22069375).*cos(x(3) + x(4) + 2.*(x(5) + x(6))) + ( ...
  13180101/100000000).*cos(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) +  ...
  (-1).*x(8) + (-1).*x(9)) + ( ...
  -3554937647623919309/310535762812500000).*sin(x(3) + x(4)) + ( ...
  -3067160373582823889/310535762812500000).*sin(x(3) + x(4) + x(5))  ...
  + (-19281354691383/5509250000000).*sin(x(3) + x(4) + x(5) + x(6))  ...
  + (-152624353628/621071525625).*sin(x(3) + x(4) + x(5) + 2.*x(6))  ...
  + (-152624353628/621071525625).*sin(x(3) + x(4) + 2.*(x(5) + x(6)) ...
  ) + (862565871/312500000).*sin(x(3) + x(4) + x(5) + x(6) + (-1).* ...
  x(7)) + (371703251/312500000).*sin(x(3) + x(4) + x(5) + x(6) + ( ...
  -1).*x(7) + (-1).*x(8)) + (5056343/100000000).*sin(x(3) + x(4) +  ...
  x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)),( ...
  -1182681/353110000).*cos(x(3) + x(4) + x(5) + x(6)) + ( ...
  -119634/22069375).*cos(x(3) + x(4) + x(5) + 2.*x(6)) + ( ...
  1/2484286102500000000).*(327431417438463525.*cos(x(3) + x(4) + x( ...
  5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + ( ...
  -24537282988662591112).*sin(x(3) + x(4) + x(5)) + ( ...
  -8694541270985336190).*sin(x(3) + x(4) + x(5) + x(6)) + ( ...
  -610497414512000000).*sin(x(3) + x(4) + x(5) + 2.*x(6)) +  ...
  6857153298611544888.*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7)) + ...
   2954935106282781528.*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + ...
   (-1).*x(8)) + 125614026443731575.*sin(x(3) + x(4) + x(5) + x(6) + ...
   (-1).*x(7) + (-1).*x(8) + (-1).*x(9))),(1/1945371267500000000).*( ...
  (-6515685299250000).*cos(x(3) + x(4) + x(5) + x(6)) + 35311.*( ...
  7261247143425.*cos(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).* ...
  x(8) + (-1).*x(9)) + (-192813546913830).*sin(x(3) + x(4) + x(5) +  ...
  x(6)) + 22037.*(6900526968.*sin(x(3) + x(4) + x(5) + x(6) + (-1).* ...
  x(7)) + 2973626008.*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + ( ...
  -1).*x(8)) + 126408575.*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) ...
   + (-1).*x(8) + (-1).*x(9))))),(1/2500000000).*((-329502525).*cos( ...
  x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9))  ...
  + (-6900526968).*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7)) + ( ...
  -2973626008).*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).* ...
  x(8)) + (-126408575).*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + ...
   (-1).*x(8) + (-1).*x(9))),(1/2500000000).*((-329502525).*cos(x(3) ...
   + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + ( ...
  -2973626008).*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).* ...
  x(8)) + (-126408575).*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + ...
   (-1).*x(8) + (-1).*x(9))),(-1151/100000000).*(11451.*cos(x(3) +  ...
  x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) +  ...
  4393.*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + ( ...
  -1).*x(9)));(-151947620378621417/99371444100000000).*cos(x(3)) + ( ...
  -3554937647623919309/310535762812500000).*cos(x(3) + x(4)) + ( ...
  -3067160373582823889/310535762812500000).*cos(x(3) + x(4) + x(5))  ...
  + (-19281354691383/5509250000000).*cos(x(3) + x(4) + x(5) + x(6))  ...
  + (-152624353628/621071525625).*cos(x(3) + x(4) + x(5) + 2.*x(6))  ...
  + (-152624353628/621071525625).*cos(x(3) + x(4) + 2.*(x(5) + x(6)) ...
  ) + (-38156088407/1242143051250).*cos(x(3) + 2.*(x(4) + x(5) + x( ...
  6))) + (862565871/312500000).*cos(x(3) + x(4) + x(5) + x(6) + (-1) ...
  .*x(7)) + (371703251/312500000).*cos(x(3) + x(4) + x(5) + x(6) + ( ...
  -1).*x(7) + (-1).*x(8)) + (5056343/100000000).*cos(x(3) + x(4) +  ...
  x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + ( ...
  -13180101/100000000).*sin(x(3)) + (1182681/353110000).*sin(x(3) +  ...
  x(4) + x(5) + x(6)) + (119634/22069375).*sin(x(3) + x(4) + x(5) +  ...
  2.*x(6)) + (119634/22069375).*sin(x(3) + x(4) + 2.*(x(5) + x(6)))  ...
  + (59817/88277500).*sin(x(3) + 2.*(x(4) + x(5) + x(6))) + ( ...
  -13180101/100000000).*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + ...
   (-1).*x(8) + (-1).*x(9)),(13180101/100000000).*cos(x(3)) + ( ...
  -1182681/353110000).*cos(x(3) + x(4) + x(5) + x(6)) + ( ...
  -119634/22069375).*cos(x(3) + x(4) + x(5) + 2.*x(6)) + ( ...
  -119634/22069375).*cos(x(3) + x(4) + 2.*(x(5) + x(6))) + ( ...
  -59817/88277500).*cos(x(3) + 2.*(x(4) + x(5) + x(6))) + ( ...
  13180101/100000000).*cos(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) +  ...
  (-1).*x(8) + (-1).*x(9)) + (-151947620378621417/99371444100000000) ...
  .*sin(x(3)) + (-3554937647623919309/310535762812500000).*sin(x(3)  ...
  + x(4)) + (-3067160373582823889/310535762812500000).*sin(x(3) + x( ...
  4) + x(5)) + (-19281354691383/5509250000000).*sin(x(3) + x(4) + x( ...
  5) + x(6)) + (-152624353628/621071525625).*sin(x(3) + x(4) + x(5)  ...
  + 2.*x(6)) + (-152624353628/621071525625).*sin(x(3) + x(4) + 2.*( ...
  x(5) + x(6))) + (-38156088407/1242143051250).*sin(x(3) + 2.*(x(4)  ...
  + x(5) + x(6))) + (862565871/312500000).*sin(x(3) + x(4) + x(5) +  ...
  x(6) + (-1).*x(7)) + (371703251/312500000).*sin(x(3) + x(4) + x(5) ...
   + x(6) + (-1).*x(7) + (-1).*x(8)) + (5056343/100000000).*sin(x(3) ...
   + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)),( ...
  1/6423751750000000000000).*(1890867898801420002250 +  ...
  158900390008672.*(2746 + 635.*cos(x(4))).^2 + 158900390008672.*( ...
  2746 + 5080.*cos(x(5)) + 635.*cos(x(4) + x(5))).^2 +  ...
  669275277828300.*(2511 + 4064.*cos(x(6)) + 4064.*cos(x(5) + x(6))  ...
  + 508.*cos(x(4) + x(5) + x(6))).^2 + 158900390008672.*((-2334) +  ...
  5080.*cos(x(6) + (-1).*x(7)) + 5080.*cos(x(5) + x(6) + (-1).*x(7)) ...
   + 635.*cos(x(4) + x(5) + x(6) + (-1).*x(7))).^2 +  ...
  158900390008672.*((-2334) + 5080.*cos(x(6) + (-1).*x(7) + (-1).*x( ...
  8)) + 5080.*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + 635.*cos( ...
  x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + (-5080).*cos(x(8)) ...
  ).^2 + 739373826425.*(4393 + (-40640).*cos(x(6) + (-1).*x(7) + ( ...
  -1).*x(8) + (-1).*x(9)) + (-40640).*cos(x(5) + x(6) + (-1).*x(7) + ...
   (-1).*x(8) + (-1).*x(9)) + (-5080).*cos(x(4) + x(5) + x(6) + (-1) ...
  .*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*cos(x(9)) + 40640.*cos( ...
  x(8) + x(9))).^2 + 64072609761246767200.*sin(x(4)).^2 +  ...
  64072609761246767200.*(8.*sin(x(5)) + sin(x(4) + x(5))).^2 +  ...
  172715855297482411200.*(8.*sin(x(6)) + 8.*sin(x(5) + x(6)) + sin( ...
  x(4) + x(5) + x(6))).^2 + 642375175000000000.*((-2511) + (-4064).* ...
  cos(x(6)) + (-4064).*cos(x(5) + x(6)) + (-508).*cos(x(4) + x(5) +  ...
  x(6))).*((-4847/13773125).*(2511 + 4064.*cos(x(6)) + 4064.*cos(x( ...
  5) + x(6)) + 508.*cos(x(4) + x(5) + x(6))) + (59817/88277500).*( ...
  8.*sin(x(6)) + 8.*sin(x(5) + x(6)) + sin(x(4) + x(5) + x(6)))) +  ...
  326326588900000000000.*(8.*sin(x(6)) + 8.*sin(x(5) + x(6)) + sin( ...
  x(4) + x(5) + x(6))).*((-471/353110000).*(2511 + 4064.*cos(x(6)) + ...
   4064.*cos(x(5) + x(6)) + 508.*cos(x(4) + x(5) + x(6))) + ( ...
  3306953/28183125).*(8.*sin(x(6)) + 8.*sin(x(5) + x(6)) + sin(x(4)  ...
  + x(5) + x(6)))) + 64072609761246767200.*(8.*sin(x(6) + (-1).*x(7) ...
  ) + 8.*sin(x(5) + x(6) + (-1).*x(7)) + sin(x(4) + x(5) + x(6) + ( ...
  -1).*x(7))).^2 + 64072609761246767200.*(8.*sin(x(6) + (-1).*x(7) + ...
   (-1).*x(8)) + 8.*sin(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) +  ...
  sin(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + 8.*sin(x(8))) ...
  .^2 + 739373826425.*(11451 + 40640.*sin(x(6) + (-1).*x(7) + (-1).* ...
  x(8) + (-1).*x(9)) + 40640.*sin(x(5) + x(6) + (-1).*x(7) + (-1).* ...
  x(8) + (-1).*x(9)) + 5080.*sin(x(4) + x(5) + x(6) + (-1).*x(7) + ( ...
  -1).*x(8) + (-1).*x(9)) + 40640.*sin(x(9)) + 40640.*sin(x(8) + x( ...
  9))).^2),(1/6423751750000000000000).*(1735865797797053500000 +  ...
  436340470963813312.*(2746 + 635.*cos(x(4))) + 317800780017344.*( ...
  1373 + 2540.*cos(x(5))).*(2746 + 5080.*cos(x(5)) + 635.*cos(x(4) + ...
   x(5))) + 669275277828300.*(2511 + 4064.*cos(x(6)) + 4064.*cos(x( ...
  5) + x(6))).*(2511 + 4064.*cos(x(6)) + 4064.*cos(x(5) + x(6)) +  ...
  508.*cos(x(4) + x(5) + x(6))) + 317800780017344.*((-1167) + 2540.* ...
  cos(x(6) + (-1).*x(7)) + 2540.*cos(x(5) + x(6) + (-1).*x(7))).*(( ...
  -2334) + 5080.*cos(x(6) + (-1).*x(7)) + 5080.*cos(x(5) + x(6) + ( ...
  -1).*x(7)) + 635.*cos(x(4) + x(5) + x(6) + (-1).*x(7))) +  ...
  317800780017344.*((-2334) + 5080.*cos(x(6) + (-1).*x(7) + (-1).*x( ...
  8)) + 5080.*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + 635.*cos( ...
  x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + (-5080).*cos(x(8)) ...
  ).*((-1167) + 2540.*cos(x(6) + (-1).*x(7) + (-1).*x(8)) + 2540.* ...
  cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + (-2540).*cos(x(8))) + ...
   739373826425.*(4393 + (-40640).*cos(x(6) + (-1).*x(7) + (-1).*x( ...
  8) + (-1).*x(9)) + (-40640).*cos(x(5) + x(6) + (-1).*x(7) + (-1).* ...
  x(8) + (-1).*x(9)) + 40640.*cos(x(9)) + 40640.*cos(x(8) + x(9))).* ...
  (4393 + (-40640).*cos(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) ...
   + (-40640).*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x( ...
  9)) + (-5080).*cos(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) +  ...
  (-1).*x(9)) + 40640.*cos(x(9)) + 40640.*cos(x(8) + x(9))) +  ...
  512580878089974137600.*sin(x(5)).*(8.*sin(x(5)) + sin(x(4) + x(5)) ...
  ) + 2763453684759718579200.*cos((1/2).*x(5)).*sin((1/2).*x(5) + x( ...
  6)).*(8.*sin(x(6)) + 8.*sin(x(5) + x(6)) + sin(x(4) + x(5) + x(6)) ...
  ) + 642375175000000000.*((-2511) + (-4064).*cos(x(6)) + (-4064).* ...
  cos(x(5) + x(6))).*((-4847/13773125).*(2511 + 4064.*cos(x(6)) +  ...
  4064.*cos(x(5) + x(6)) + 508.*cos(x(4) + x(5) + x(6))) + ( ...
  59817/88277500).*(8.*sin(x(6)) + 8.*sin(x(5) + x(6)) + sin(x(4) +  ...
  x(5) + x(6)))) + 5221225422400000000000.*cos((1/2).*x(5)).*sin(( ...
  1/2).*x(5) + x(6)).*((-471/353110000).*(2511 + 4064.*cos(x(6)) +  ...
  4064.*cos(x(5) + x(6)) + 508.*cos(x(4) + x(5) + x(6))) + ( ...
  3306953/28183125).*(8.*sin(x(6)) + 8.*sin(x(5) + x(6)) + sin(x(4)  ...
  + x(5) + x(6)))) + 1025161756179948275200.*cos((1/2).*x(5)).*sin(( ...
  1/2).*x(5) + x(6) + (-1).*x(7)).*(8.*sin(x(6) + (-1).*x(7)) + 8.* ...
  sin(x(5) + x(6) + (-1).*x(7)) + sin(x(4) + x(5) + x(6) + (-1).*x( ...
  7))) + 512580878089974137600.*(sin(x(6) + (-1).*x(7) + (-1).*x(8)) ...
   + sin(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + sin(x(8))).*(8.* ...
  sin(x(6) + (-1).*x(7) + (-1).*x(8)) + 8.*sin(x(5) + x(6) + (-1).* ...
  x(7) + (-1).*x(8)) + sin(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).* ...
  x(8)) + 8.*sin(x(8))) + 739373826425.*(11451 + 40640.*sin(x(6) + ( ...
  -1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*sin(x(5) + x(6) + ( ...
  -1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*sin(x(9)) + 40640.* ...
  sin(x(8) + x(9))).*(11451 + 40640.*sin(x(6) + (-1).*x(7) + (-1).* ...
  x(8) + (-1).*x(9)) + 40640.*sin(x(5) + x(6) + (-1).*x(7) + (-1).* ...
  x(8) + (-1).*x(9)) + 5080.*sin(x(4) + x(5) + x(6) + (-1).*x(7) + ( ...
  -1).*x(8) + (-1).*x(9)) + 40640.*sin(x(9)) + 40640.*sin(x(8) + x( ...
  9)))),(3106538445594107/12847503500000000) + ( ...
  265336369/3906250000000).*(2746 + 5080.*cos(x(5)) + 635.*cos(x(4)  ...
  + x(5))) + (260469/2500000000000).*(2511 + 4064.*cos(x(6))).*( ...
  2511 + 4064.*cos(x(6)) + 4064.*cos(x(5) + x(6)) + 508.*cos(x(4) +  ...
  x(5) + x(6))) + (193253/3906250000000).*((-1167) + 2540.*cos(x(6)  ...
  + (-1).*x(7))).*((-2334) + 5080.*cos(x(6) + (-1).*x(7)) + 5080.* ...
  cos(x(5) + x(6) + (-1).*x(7)) + 635.*cos(x(4) + x(5) + x(6) + (-1) ...
  .*x(7))) + (193253/3906250000000).*((-2334) + 5080.*cos(x(6) + ( ...
  -1).*x(7) + (-1).*x(8)) + 5080.*cos(x(5) + x(6) + (-1).*x(7) + ( ...
  -1).*x(8)) + 635.*cos(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) ...
  ) + (-5080).*cos(x(8))).*((-1167) + 2540.*cos(x(6) + (-1).*x(7) +  ...
  (-1).*x(8)) + (-2540).*cos(x(8))) + (1151/10000000000000).*(4393 + ...
   (-40640).*cos(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) +  ...
  40640.*cos(x(9)) + 40640.*cos(x(8) + x(9))).*(4393 + (-40640).* ...
  cos(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + (-40640).*cos( ...
  x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + (-5080).* ...
  cos(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) +  ...
  40640.*cos(x(9)) + 40640.*cos(x(8) + x(9))) + ( ...
  4201104501/19531250000).*sin(x(6)).*(8.*sin(x(6)) + 8.*sin(x(5) +  ...
  x(6)) + sin(x(4) + x(5) + x(6))) + (1/10000).*((-2511) + (-4064).* ...
  cos(x(6))).*((-4847/13773125).*(2511 + 4064.*cos(x(6)) + 4064.* ...
  cos(x(5) + x(6)) + 508.*cos(x(4) + x(5) + x(6))) + ( ...
  59817/88277500).*(8.*sin(x(6)) + 8.*sin(x(5) + x(6)) + sin(x(4) +  ...
  x(5) + x(6)))) + (254/625).*sin(x(6)).*((-471/353110000).*(2511 +  ...
  4064.*cos(x(6)) + 4064.*cos(x(5) + x(6)) + 508.*cos(x(4) + x(5) +  ...
  x(6))) + (3306953/28183125).*(8.*sin(x(6)) + 8.*sin(x(5) + x(6)) + ...
   sin(x(4) + x(5) + x(6)))) + (3116977637/39062500000).*sin(x(6) +  ...
  (-1).*x(7)).*(8.*sin(x(6) + (-1).*x(7)) + 8.*sin(x(5) + x(6) + ( ...
  -1).*x(7)) + sin(x(4) + x(5) + x(6) + (-1).*x(7))) + ( ...
  3116977637/19531250000).*cos((1/2).*(x(6) + (-1).*x(7) + (-2).*x( ...
  8))).*sin((1/2).*(x(6) + (-1).*x(7))).*(8.*sin(x(6) + (-1).*x(7) + ...
   (-1).*x(8)) + 8.*sin(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) +  ...
  sin(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + 8.*sin(x(8)))  ...
  + (1151/10000000000000).*(11451 + 40640.*sin(x(6) + (-1).*x(7) + ( ...
  -1).*x(8) + (-1).*x(9)) + 40640.*sin(x(9)) + 40640.*sin(x(8) + x( ...
  9))).*(11451 + 40640.*sin(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).* ...
  x(9)) + 40640.*sin(x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).* ...
  x(9)) + 5080.*sin(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + ( ...
  -1).*x(9)) + 40640.*sin(x(9)) + 40640.*sin(x(8) + x(9))),( ...
  1/6423751750000000000000).*(1370672647797053500000 +  ...
  1680550222626861300.*(2511 + 4064.*cos(x(6)) + 4064.*cos(x(5) + x( ...
  6)) + 508.*cos(x(4) + x(5) + x(6))) + (-370873510280240448).*(( ...
  -2334) + 5080.*cos(x(6) + (-1).*x(7)) + 5080.*cos(x(5) + x(6) + ( ...
  -1).*x(7)) + 635.*cos(x(4) + x(5) + x(6) + (-1).*x(7))) + ( ...
  -317800780017344).*((-2334) + 5080.*cos(x(6) + (-1).*x(7) + (-1).* ...
  x(8)) + 5080.*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + 635.* ...
  cos(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + (-5080).*cos( ...
  x(8))).*(1167 + 2540.*cos(x(8))) + 739373826425.*(4393 + 40640.* ...
  cos(x(9)) + 40640.*cos(x(8) + x(9))).*(4393 + (-40640).*cos(x(6) + ...
   (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + (-40640).*cos(x(5) + x(6) ...
   + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + (-5080).*cos(x(4) + x( ...
  5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*cos(x( ...
  9)) + 40640.*cos(x(8) + x(9))) + (-1613004064425000000000).*(( ...
  -4847/13773125).*(2511 + 4064.*cos(x(6)) + 4064.*cos(x(5) + x(6))  ...
  + 508.*cos(x(4) + x(5) + x(6))) + (59817/88277500).*(8.*sin(x(6))  ...
  + 8.*sin(x(5) + x(6)) + sin(x(4) + x(5) + x(6)))) +  ...
  512580878089974137600.*sin(x(8)).*(8.*sin(x(6) + (-1).*x(7) + (-1) ...
  .*x(8)) + 8.*sin(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + sin(x(4) ...
   + x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + 8.*sin(x(8))) +  ...
  739373826425.*(11451 + 40640.*sin(x(9)) + 40640.*sin(x(8) + x(9))) ...
  .*(11451 + 40640.*sin(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) ...
   + 40640.*sin(x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9))  ...
  + 5080.*sin(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).* ...
  x(9)) + 40640.*sin(x(9)) + 40640.*sin(x(8) + x(9)))),( ...
  -8457912/128475035) + (225526251/3906250000000).*((-2334) + 5080.* ...
  cos(x(6) + (-1).*x(7)) + 5080.*cos(x(5) + x(6) + (-1).*x(7)) +  ...
  635.*cos(x(4) + x(5) + x(6) + (-1).*x(7))) + ( ...
  193253/3906250000000).*((-2334) + 5080.*cos(x(6) + (-1).*x(7) + ( ...
  -1).*x(8)) + 5080.*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) +  ...
  635.*cos(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + (-5080).* ...
  cos(x(8))).*(1167 + 2540.*cos(x(8))) + (1151/10000000000000).*(( ...
  -4393) + 40640.*cos(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + ...
   40640.*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) +  ...
  5080.*cos(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x( ...
  9)) + (-40640).*cos(x(9)) + (-40640).*cos(x(8) + x(9))).*(4393 +  ...
  40640.*cos(x(9)) + 40640.*cos(x(8) + x(9))) + ( ...
  -3116977637/39062500000).*sin(x(8)).*(8.*sin(x(6) + (-1).*x(7) + ( ...
  -1).*x(8)) + 8.*sin(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + sin( ...
  x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + 8.*sin(x(8))) + ( ...
  -1151/10000000000000).*(11451 + 40640.*sin(x(9)) + 40640.*sin(x(8) ...
   + x(9))).*(11451 + 40640.*sin(x(6) + (-1).*x(7) + (-1).*x(8) + ( ...
  -1).*x(9)) + 40640.*sin(x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + ( ...
  -1).*x(9)) + 5080.*sin(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x( ...
  8) + (-1).*x(9)) + 40640.*sin(x(9)) + 40640.*sin(x(8) + x(9))),( ...
  -9611961/256950070) + (225526251/3906250000000).*((-2334) + 5080.* ...
  cos(x(6) + (-1).*x(7) + (-1).*x(8)) + 5080.*cos(x(5) + x(6) + (-1) ...
  .*x(7) + (-1).*x(8)) + 635.*cos(x(4) + x(5) + x(6) + (-1).*x(7) +  ...
  (-1).*x(8)) + (-5080).*cos(x(8))) + (1151/10000000000000).*(4393 + ...
   40640.*cos(x(9))).*((-4393) + 40640.*cos(x(6) + (-1).*x(7) + (-1) ...
  .*x(8) + (-1).*x(9)) + 40640.*cos(x(5) + x(6) + (-1).*x(7) + (-1) ...
  .*x(8) + (-1).*x(9)) + 5080.*cos(x(4) + x(5) + x(6) + (-1).*x(7) + ...
   (-1).*x(8) + (-1).*x(9)) + (-40640).*cos(x(9)) + (-40640).*cos(x( ...
  8) + x(9))) + (-1151/10000000000000).*(11451 + 40640.*sin(x(9))).* ...
  (11451 + 40640.*sin(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + ...
   40640.*sin(x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) +  ...
  5080.*sin(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x( ...
  9)) + 40640.*sin(x(9)) + 40640.*sin(x(8) + x(9))),(-381/42415) + ( ...
  5056343/10000000000000).*((-4393) + 40640.*cos(x(6) + (-1).*x(7) + ...
   (-1).*x(8) + (-1).*x(9)) + 40640.*cos(x(5) + x(6) + (-1).*x(7) +  ...
  (-1).*x(8) + (-1).*x(9)) + 5080.*cos(x(4) + x(5) + x(6) + (-1).*x( ...
  7) + (-1).*x(8) + (-1).*x(9)) + (-40640).*cos(x(9)) + (-40640).* ...
  cos(x(8) + x(9))) + (-13180101/10000000000000).*(11451 + 40640.* ...
  sin(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*sin(x(5) ...
   + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 5080.*sin(x(4) + ...
   x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*sin( ...
  x(9)) + 40640.*sin(x(8) + x(9)));( ...
  -3554937647623919309/310535762812500000).*cos(x(3) + x(4)) + ( ...
  -3067160373582823889/310535762812500000).*cos(x(3) + x(4) + x(5))  ...
  + (-19281354691383/5509250000000).*cos(x(3) + x(4) + x(5) + x(6))  ...
  + (-152624353628/621071525625).*cos(x(3) + x(4) + x(5) + 2.*x(6))  ...
  + (-152624353628/621071525625).*cos(x(3) + x(4) + 2.*(x(5) + x(6)) ...
  ) + (862565871/312500000).*cos(x(3) + x(4) + x(5) + x(6) + (-1).* ...
  x(7)) + (371703251/312500000).*cos(x(3) + x(4) + x(5) + x(6) + ( ...
  -1).*x(7) + (-1).*x(8)) + (5056343/100000000).*cos(x(3) + x(4) +  ...
  x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + ( ...
  1182681/353110000).*sin(x(3) + x(4) + x(5) + x(6)) + ( ...
  119634/22069375).*sin(x(3) + x(4) + x(5) + 2.*x(6)) + ( ...
  119634/22069375).*sin(x(3) + x(4) + 2.*(x(5) + x(6))) + ( ...
  -13180101/100000000).*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + ...
   (-1).*x(8) + (-1).*x(9)),(-1182681/353110000).*cos(x(3) + x(4) +  ...
  x(5) + x(6)) + (-119634/22069375).*cos(x(3) + x(4) + x(5) + 2.*x( ...
  6)) + (-119634/22069375).*cos(x(3) + x(4) + 2.*(x(5) + x(6))) + ( ...
  13180101/100000000).*cos(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) +  ...
  (-1).*x(8) + (-1).*x(9)) + ( ...
  -3554937647623919309/310535762812500000).*sin(x(3) + x(4)) + ( ...
  -3067160373582823889/310535762812500000).*sin(x(3) + x(4) + x(5))  ...
  + (-19281354691383/5509250000000).*sin(x(3) + x(4) + x(5) + x(6))  ...
  + (-152624353628/621071525625).*sin(x(3) + x(4) + x(5) + 2.*x(6))  ...
  + (-152624353628/621071525625).*sin(x(3) + x(4) + 2.*(x(5) + x(6)) ...
  ) + (862565871/312500000).*sin(x(3) + x(4) + x(5) + x(6) + (-1).* ...
  x(7)) + (371703251/312500000).*sin(x(3) + x(4) + x(5) + x(6) + ( ...
  -1).*x(7) + (-1).*x(8)) + (5056343/100000000).*sin(x(3) + x(4) +  ...
  x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)),( ...
  1/6423751750000000000000).*(1735865797797053500000 +  ...
  436340470963813312.*(2746 + 635.*cos(x(4))) + 317800780017344.*( ...
  1373 + 2540.*cos(x(5))).*(2746 + 5080.*cos(x(5)) + 635.*cos(x(4) + ...
   x(5))) + 669275277828300.*(2511 + 4064.*cos(x(6)) + 4064.*cos(x( ...
  5) + x(6))).*(2511 + 4064.*cos(x(6)) + 4064.*cos(x(5) + x(6)) +  ...
  508.*cos(x(4) + x(5) + x(6))) + 317800780017344.*((-1167) + 2540.* ...
  cos(x(6) + (-1).*x(7)) + 2540.*cos(x(5) + x(6) + (-1).*x(7))).*(( ...
  -2334) + 5080.*cos(x(6) + (-1).*x(7)) + 5080.*cos(x(5) + x(6) + ( ...
  -1).*x(7)) + 635.*cos(x(4) + x(5) + x(6) + (-1).*x(7))) +  ...
  317800780017344.*((-2334) + 5080.*cos(x(6) + (-1).*x(7) + (-1).*x( ...
  8)) + 5080.*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + 635.*cos( ...
  x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + (-5080).*cos(x(8)) ...
  ).*((-1167) + 2540.*cos(x(6) + (-1).*x(7) + (-1).*x(8)) + 2540.* ...
  cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + (-2540).*cos(x(8))) + ...
   739373826425.*(4393 + (-40640).*cos(x(6) + (-1).*x(7) + (-1).*x( ...
  8) + (-1).*x(9)) + (-40640).*cos(x(5) + x(6) + (-1).*x(7) + (-1).* ...
  x(8) + (-1).*x(9)) + 40640.*cos(x(9)) + 40640.*cos(x(8) + x(9))).* ...
  (4393 + (-40640).*cos(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) ...
   + (-40640).*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x( ...
  9)) + (-5080).*cos(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) +  ...
  (-1).*x(9)) + 40640.*cos(x(9)) + 40640.*cos(x(8) + x(9))) +  ...
  512580878089974137600.*sin(x(5)).*(8.*sin(x(5)) + sin(x(4) + x(5)) ...
  ) + 642375175000000000.*((-2511) + (-4064).*cos(x(6)) + (-4064).* ...
  cos(x(5) + x(6)) + (-508).*cos(x(4) + x(5) + x(6))).*(( ...
  -4847/13773125).*(2511 + 4064.*cos(x(6)) + 4064.*cos(x(5) + x(6))) ...
   + (239268/22069375).*cos((1/2).*x(5)).*sin((1/2).*x(5) + x(6))) + ...
   2763453684759718579200.*cos((1/2).*x(5)).*sin((1/2).*x(5) + x(6)) ...
  .*(8.*sin(x(6)) + 8.*sin(x(5) + x(6)) + sin(x(4) + x(5) + x(6))) + ...
   326326588900000000000.*((-471/353110000).*(2511 + 4064.*cos(x(6)) ...
   + 4064.*cos(x(5) + x(6))) + (52911248/28183125).*cos((1/2).*x(5)) ...
  .*sin((1/2).*x(5) + x(6))).*(8.*sin(x(6)) + 8.*sin(x(5) + x(6)) +  ...
  sin(x(4) + x(5) + x(6))) + 1025161756179948275200.*cos((1/2).*x(5) ...
  ).*sin((1/2).*x(5) + x(6) + (-1).*x(7)).*(8.*sin(x(6) + (-1).*x(7) ...
  ) + 8.*sin(x(5) + x(6) + (-1).*x(7)) + sin(x(4) + x(5) + x(6) + ( ...
  -1).*x(7))) + 512580878089974137600.*(sin(x(6) + (-1).*x(7) + (-1) ...
  .*x(8)) + sin(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + sin(x(8))) ...
  .*(8.*sin(x(6) + (-1).*x(7) + (-1).*x(8)) + 8.*sin(x(5) + x(6) + ( ...
  -1).*x(7) + (-1).*x(8)) + sin(x(4) + x(5) + x(6) + (-1).*x(7) + ( ...
  -1).*x(8)) + 8.*sin(x(8))) + 739373826425.*(11451 + 40640.*sin(x( ...
  6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*sin(x(5) + x( ...
  6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*sin(x(9)) +  ...
  40640.*sin(x(8) + x(9))).*(11451 + 40640.*sin(x(6) + (-1).*x(7) +  ...
  (-1).*x(8) + (-1).*x(9)) + 40640.*sin(x(5) + x(6) + (-1).*x(7) + ( ...
  -1).*x(8) + (-1).*x(9)) + 5080.*sin(x(4) + x(5) + x(6) + (-1).*x( ...
  7) + (-1).*x(8) + (-1).*x(9)) + 40640.*sin(x(9)) + 40640.*sin(x(8) ...
   + x(9)))),(9853007421568266876233/20676450945312500000000) + ( ...
  193253/1953125000000).*(1373 + 2540.*cos(x(5))).^2 + ( ...
  260469/2500000000000).*(2511 + 4064.*cos(x(6)) + 4064.*cos(x(5) +  ...
  x(6))).^2 + (193253/1953125000000).*((-1167) + 2540.*cos(x(6) + ( ...
  -1).*x(7)) + 2540.*cos(x(5) + x(6) + (-1).*x(7))).^2 + ( ...
  193253/1953125000000).*(1167 + (-2540).*cos(x(6) + (-1).*x(7) + ( ...
  -1).*x(8)) + (-2540).*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + ...
   2540.*cos(x(8))).^2 + (1151/10000000000000).*(4393 + (-40640).* ...
  cos(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + (-40640).*cos( ...
  x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*cos( ...
  x(9)) + 40640.*cos(x(8) + x(9))).^2 + (3116977637/4882812500).* ...
  sin(x(5)).^2 + (8402209002/1220703125).*cos((1/2).*x(5)).^2.*sin(( ...
  1/2).*x(5) + x(6)).^2 + (1/10000).*((-2511) + (-4064).*cos(x(6)) + ...
   (-4064).*cos(x(5) + x(6))).*((-4847/13773125).*(2511 + 4064.*cos( ...
  x(6)) + 4064.*cos(x(5) + x(6))) + (239268/22069375).*cos((1/2).*x( ...
  5)).*sin((1/2).*x(5) + x(6))) + (508/625).*cos((1/2).*x(5)).*sin(( ...
  1/2).*x(5) + x(6)).*((-471/353110000).*(2511 + 4064.*cos(x(6)) +  ...
  4064.*cos(x(5) + x(6))) + (52911248/28183125).*cos((1/2).*x(5)).* ...
  sin((1/2).*x(5) + x(6))) + (3116977637/1220703125).*cos((1/2).*x( ...
  5)).^2.*sin((1/2).*x(5) + x(6) + (-1).*x(7)).^2 + ( ...
  3116977637/4882812500).*(sin(x(6) + (-1).*x(7) + (-1).*x(8)) +  ...
  sin(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + sin(x(8))).^2 + ( ...
  1151/10000000000000).*(11451 + 40640.*sin(x(6) + (-1).*x(7) + (-1) ...
  .*x(8) + (-1).*x(9)) + 40640.*sin(x(5) + x(6) + (-1).*x(7) + (-1) ...
  .*x(8) + (-1).*x(9)) + 40640.*sin(x(9)) + 40640.*sin(x(8) + x(9))) ...
  .^2,( ...
  20048434424317500120761242773403/3191687439687010875000000000000)  ...
  + (389529367445018633903/97042425878906250000).*cos(x(5)) + ( ...
  2448732045805641/860820312500000).*cos(x(6)) + ( ...
  38766585821512/388169703515625).*cos(2.*x(6)) + ( ...
  2448732045805641/1721640625000000).*cos(x(5) + x(6)) + ( ...
  38766585821512/388169703515625).*cos(x(5) + 2.*x(6)) + ( ...
  -109545865617/48828125000).*cos(x(6) + (-1).*x(7)) + ( ...
  -109545865617/97656250000).*cos(x(5) + x(6) + (-1).*x(7)) + ( ...
  -47206312877/48828125000).*cos(x(6) + (-1).*x(7) + (-1).*x(8)) + ( ...
  -47206312877/97656250000).*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x( ...
  8)) + (47206312877/48828125000).*cos(x(8)) + ( ...
  -642155561/15625000000).*cos(x(6) + (-1).*x(7) + (-1).*x(8) + (-1) ...
  .*x(9)) + (-642155561/31250000000).*cos(x(5) + x(6) + (-1).*x(7) + ...
   (-1).*x(8) + (-1).*x(9)) + (642155561/15625000000).*cos(x(9)) + ( ...
  642155561/15625000000).*cos(x(8) + x(9)) + ( ...
  -150200487/55173437500).*sin(x(6)) + (-30387036/13793359375).*sin( ...
  2.*x(6)) + (-150200487/110346875000).*sin(x(5) + x(6)) + ( ...
  -30387036/13793359375).*sin(x(5) + 2.*x(6)) + ( ...
  1673872827/15625000000).*sin(x(6) + (-1).*x(7) + (-1).*x(8) + (-1) ...
  .*x(9)) + (1673872827/31250000000).*sin(x(5) + x(6) + (-1).*x(7) + ...
   (-1).*x(8) + (-1).*x(9)) + (1673872827/15625000000).*sin(x(9)) +  ...
  (1673872827/15625000000).*sin(x(8) + x(9)),( ...
  1/6423751750000000000000).*(1370672647797053500000 +  ...
  1680550222626861300.*(2511 + 4064.*cos(x(6)) + 4064.*cos(x(5) + x( ...
  6))) + (-741747020560480896).*((-1167) + 2540.*cos(x(6) + (-1).*x( ...
  7)) + 2540.*cos(x(5) + x(6) + (-1).*x(7))) + 635601560034688.*( ...
  1167 + 2540.*cos(x(8))).*(1167 + (-2540).*cos(x(6) + (-1).*x(7) +  ...
  (-1).*x(8)) + (-2540).*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8))  ...
  + 2540.*cos(x(8))) + 739373826425.*(4393 + 40640.*cos(x(9)) +  ...
  40640.*cos(x(8) + x(9))).*(4393 + (-40640).*cos(x(6) + (-1).*x(7)  ...
  + (-1).*x(8) + (-1).*x(9)) + (-40640).*cos(x(5) + x(6) + (-1).*x( ...
  7) + (-1).*x(8) + (-1).*x(9)) + 40640.*cos(x(9)) + 40640.*cos(x(8) ...
   + x(9))) + (-1613004064425000000000).*((-4847/13773125).*(2511 +  ...
  4064.*cos(x(6)) + 4064.*cos(x(5) + x(6))) + (239268/22069375).* ...
  cos((1/2).*x(5)).*sin((1/2).*x(5) + x(6))) +  ...
  4100647024719793100800.*sin(x(8)).*(sin(x(6) + (-1).*x(7) + (-1).* ...
  x(8)) + sin(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + sin(x(8))) +  ...
  739373826425.*(11451 + 40640.*sin(x(9)) + 40640.*sin(x(8) + x(9))) ...
  .*(11451 + 40640.*sin(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) ...
   + 40640.*sin(x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9))  ...
  + 40640.*sin(x(9)) + 40640.*sin(x(8) + x(9)))),( ...
  1/3211875875000000000000).*((-4404156723846281554157) +  ...
  3602920683327839128320.*cos(x(6) + (-1).*x(7)) +  ...
  3602920683327839128320.*cos(x(5) + x(6) + (-1).*x(7)) +  ...
  1552597170967942577920.*cos(x(6) + (-1).*x(7) + (-1).*x(8)) +  ...
  1552597170967942577920.*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) ...
   + (-3105194341935885155840).*cos(x(8)) + 66000766539935708000.* ...
  cos(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) +  ...
  66000766539935708000.*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8) +  ...
  (-1).*x(9)) + (-132001533079871416000).*cos(x(9)) + ( ...
  -132001533079871416000).*cos(x(8) + x(9)) + ( ...
  -172040696027499156000).*sin(x(6) + (-1).*x(7) + (-1).*x(8) + (-1) ...
  .*x(9)) + (-172040696027499156000).*sin(x(5) + x(6) + (-1).*x(7) + ...
   (-1).*x(8) + (-1).*x(9)) + (-344081392054998312000).*sin(x(9)) +  ...
  (-344081392054998312000).*sin(x(8) + x(9))),(-9611961/256950070) + ...
   (225526251/1953125000000).*((-1167) + 2540.*cos(x(6) + (-1).*x(7) ...
   + (-1).*x(8)) + 2540.*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8))  ...
  + (-2540).*cos(x(8))) + (1151/10000000000000).*(4393 + 40640.*cos( ...
  x(9))).*((-4393) + 40640.*cos(x(6) + (-1).*x(7) + (-1).*x(8) + ( ...
  -1).*x(9)) + 40640.*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + ( ...
  -1).*x(9)) + (-40640).*cos(x(9)) + (-40640).*cos(x(8) + x(9))) + ( ...
  -1151/10000000000000).*(11451 + 40640.*sin(x(9))).*(11451 +  ...
  40640.*sin(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.* ...
  sin(x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.* ...
  sin(x(9)) + 40640.*sin(x(8) + x(9))),(-381/42415) + ( ...
  5056343/10000000000000).*((-4393) + 40640.*cos(x(6) + (-1).*x(7) + ...
   (-1).*x(8) + (-1).*x(9)) + 40640.*cos(x(5) + x(6) + (-1).*x(7) +  ...
  (-1).*x(8) + (-1).*x(9)) + (-40640).*cos(x(9)) + (-40640).*cos(x( ...
  8) + x(9))) + (-13180101/10000000000000).*(11451 + 40640.*sin(x(6) ...
   + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*sin(x(5) + x(6)  ...
  + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*sin(x(9)) +  ...
  40640.*sin(x(8) + x(9)));(-3067160373582823889/310535762812500000) ...
  .*cos(x(3) + x(4) + x(5)) + (-19281354691383/5509250000000).*cos( ...
  x(3) + x(4) + x(5) + x(6)) + (-152624353628/621071525625).*cos(x( ...
  3) + x(4) + x(5) + 2.*x(6)) + (862565871/312500000).*cos(x(3) + x( ...
  4) + x(5) + x(6) + (-1).*x(7)) + (371703251/312500000).*cos(x(3) + ...
   x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + ( ...
  5056343/100000000).*cos(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + ( ...
  -1).*x(8) + (-1).*x(9)) + (1182681/353110000).*sin(x(3) + x(4) +  ...
  x(5) + x(6)) + (119634/22069375).*sin(x(3) + x(4) + x(5) + 2.*x(6) ...
  ) + (-13180101/100000000).*sin(x(3) + x(4) + x(5) + x(6) + (-1).* ...
  x(7) + (-1).*x(8) + (-1).*x(9)),(-1182681/353110000).*cos(x(3) +  ...
  x(4) + x(5) + x(6)) + (-119634/22069375).*cos(x(3) + x(4) + x(5) + ...
   2.*x(6)) + (1/2484286102500000000).*(327431417438463525.*cos(x(3) ...
   + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + ( ...
  -24537282988662591112).*sin(x(3) + x(4) + x(5)) + ( ...
  -8694541270985336190).*sin(x(3) + x(4) + x(5) + x(6)) + ( ...
  -610497414512000000).*sin(x(3) + x(4) + x(5) + 2.*x(6)) +  ...
  6857153298611544888.*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7)) + ...
   2954935106282781528.*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + ...
   (-1).*x(8)) + 125614026443731575.*sin(x(3) + x(4) + x(5) + x(6) + ...
   (-1).*x(7) + (-1).*x(8) + (-1).*x(9))),( ...
  3106538445594107/12847503500000000) + (265336369/3906250000000).*( ...
  2746 + 5080.*cos(x(5)) + 635.*cos(x(4) + x(5))) + ( ...
  260469/2500000000000).*(2511 + 4064.*cos(x(6))).*(2511 + 4064.* ...
  cos(x(6)) + 4064.*cos(x(5) + x(6)) + 508.*cos(x(4) + x(5) + x(6))) ...
   + (193253/3906250000000).*((-1167) + 2540.*cos(x(6) + (-1).*x(7)) ...
  ).*((-2334) + 5080.*cos(x(6) + (-1).*x(7)) + 5080.*cos(x(5) + x(6) ...
   + (-1).*x(7)) + 635.*cos(x(4) + x(5) + x(6) + (-1).*x(7))) + ( ...
  193253/3906250000000).*((-2334) + 5080.*cos(x(6) + (-1).*x(7) + ( ...
  -1).*x(8)) + 5080.*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) +  ...
  635.*cos(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + (-5080).* ...
  cos(x(8))).*((-1167) + 2540.*cos(x(6) + (-1).*x(7) + (-1).*x(8)) + ...
   (-2540).*cos(x(8))) + (1151/10000000000000).*(4393 + (-40640).* ...
  cos(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*cos(x(9) ...
  ) + 40640.*cos(x(8) + x(9))).*(4393 + (-40640).*cos(x(6) + (-1).* ...
  x(7) + (-1).*x(8) + (-1).*x(9)) + (-40640).*cos(x(5) + x(6) + (-1) ...
  .*x(7) + (-1).*x(8) + (-1).*x(9)) + (-5080).*cos(x(4) + x(5) + x( ...
  6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*cos(x(9)) +  ...
  40640.*cos(x(8) + x(9))) + (1/10000).*((-2511) + (-4064).*cos(x(6) ...
  ) + (-4064).*cos(x(5) + x(6)) + (-508).*cos(x(4) + x(5) + x(6))).* ...
  ((-4847/13773125).*(2511 + 4064.*cos(x(6))) + (119634/22069375).* ...
  sin(x(6))) + (127/2500).*((-471/353110000).*(2511 + 4064.*cos(x(6) ...
  )) + (26455624/28183125).*sin(x(6))).*(8.*sin(x(6)) + 8.*sin(x(5)  ...
  + x(6)) + sin(x(4) + x(5) + x(6))) + (4201104501/19531250000).* ...
  sin(x(6)).*(8.*sin(x(6)) + 8.*sin(x(5) + x(6)) + sin(x(4) + x(5) + ...
   x(6))) + (3116977637/39062500000).*sin(x(6) + (-1).*x(7)).*(8.* ...
  sin(x(6) + (-1).*x(7)) + 8.*sin(x(5) + x(6) + (-1).*x(7)) + sin(x( ...
  4) + x(5) + x(6) + (-1).*x(7))) + (3116977637/19531250000).*cos(( ...
  1/2).*(x(6) + (-1).*x(7) + (-2).*x(8))).*sin((1/2).*(x(6) + (-1).* ...
  x(7))).*(8.*sin(x(6) + (-1).*x(7) + (-1).*x(8)) + 8.*sin(x(5) + x( ...
  6) + (-1).*x(7) + (-1).*x(8)) + sin(x(4) + x(5) + x(6) + (-1).*x( ...
  7) + (-1).*x(8)) + 8.*sin(x(8))) + (1151/10000000000000).*(11451 + ...
   40640.*sin(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.* ...
  sin(x(9)) + 40640.*sin(x(8) + x(9))).*(11451 + 40640.*sin(x(6) + ( ...
  -1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*sin(x(5) + x(6) + ( ...
  -1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 5080.*sin(x(4) + x(5) + x( ...
  6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*sin(x(9)) +  ...
  40640.*sin(x(8) + x(9))),(3106538445594107/12847503500000000) + ( ...
  265336369/1953125000000).*(1373 + 2540.*cos(x(5))) + ( ...
  260469/2500000000000).*(2511 + 4064.*cos(x(6))).*(2511 + 4064.* ...
  cos(x(6)) + 4064.*cos(x(5) + x(6))) + (193253/1953125000000).*(( ...
  -1167) + 2540.*cos(x(6) + (-1).*x(7))).*((-1167) + 2540.*cos(x(6)  ...
  + (-1).*x(7)) + 2540.*cos(x(5) + x(6) + (-1).*x(7))) + ( ...
  193253/1953125000000).*(1167 + (-2540).*cos(x(6) + (-1).*x(7) + ( ...
  -1).*x(8)) + 2540.*cos(x(8))).*(1167 + (-2540).*cos(x(6) + (-1).* ...
  x(7) + (-1).*x(8)) + (-2540).*cos(x(5) + x(6) + (-1).*x(7) + (-1) ...
  .*x(8)) + 2540.*cos(x(8))) + (1151/10000000000000).*(4393 + ( ...
  -40640).*cos(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) +  ...
  40640.*cos(x(9)) + 40640.*cos(x(8) + x(9))).*(4393 + (-40640).* ...
  cos(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + (-40640).*cos( ...
  x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*cos( ...
  x(9)) + 40640.*cos(x(8) + x(9))) + (1/10000).*((-2511) + (-4064).* ...
  cos(x(6)) + (-4064).*cos(x(5) + x(6))).*((-4847/13773125).*(2511 + ...
   4064.*cos(x(6))) + (119634/22069375).*sin(x(6))) + (508/625).* ...
  cos((1/2).*x(5)).*((-471/353110000).*(2511 + 4064.*cos(x(6))) + ( ...
  26455624/28183125).*sin(x(6))).*sin((1/2).*x(5) + x(6)) + ( ...
  4201104501/2441406250).*sin(x(6)).*(sin(x(6)) + sin(x(5) + x(6)))  ...
  + (3116977637/2441406250).*cos((1/2).*x(5)).*sin(x(6) + (-1).*x(7) ...
  ).*sin((1/2).*x(5) + x(6) + (-1).*x(7)) + (3116977637/2441406250) ...
  .*cos((1/2).*(x(6) + (-1).*x(7) + (-2).*x(8))).*sin((1/2).*(x(6) + ...
   (-1).*x(7))).*(sin(x(6) + (-1).*x(7) + (-1).*x(8)) + sin(x(5) +  ...
  x(6) + (-1).*x(7) + (-1).*x(8)) + sin(x(8))) + ( ...
  1151/10000000000000).*(11451 + 40640.*sin(x(6) + (-1).*x(7) + (-1) ...
  .*x(8) + (-1).*x(9)) + 40640.*sin(x(9)) + 40640.*sin(x(8) + x(9))) ...
  .*(11451 + 40640.*sin(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) ...
   + 40640.*sin(x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9))  ...
  + 40640.*sin(x(9)) + 40640.*sin(x(8) + x(9))),( ...
  9265274695787016876233/20676450945312500000000) + ( ...
  260469/2500000000000).*(2511 + 4064.*cos(x(6))).^2 + ( ...
  193253/1953125000000).*(1167 + (-2540).*cos(x(6) + (-1).*x(7))) ...
  .^2 + (193253/1953125000000).*(1167 + (-2540).*cos(x(6) + (-1).*x( ...
  7) + (-1).*x(8)) + 2540.*cos(x(8))).^2 + (1151/10000000000000).*( ...
  4393 + (-40640).*cos(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9))  ...
  + 40640.*cos(x(9)) + 40640.*cos(x(8) + x(9))).^2 + (1/10000).*(( ...
  -2511) + (-4064).*cos(x(6))).*((-4847/13773125).*(2511 + 4064.* ...
  cos(x(6))) + (119634/22069375).*sin(x(6))) + (254/625).*(( ...
  -471/353110000).*(2511 + 4064.*cos(x(6))) + (26455624/28183125).* ...
  sin(x(6))).*sin(x(6)) + (4201104501/2441406250).*sin(x(6)).^2 + ( ...
  3116977637/1220703125).*cos((1/2).*(x(6) + (-1).*x(7) + (-2).*x(8) ...
  )).^2.*sin((1/2).*(x(6) + (-1).*x(7))).^2 + ( ...
  3116977637/4882812500).*sin(x(6) + (-1).*x(7)).^2 + ( ...
  1151/10000000000000).*(11451 + 40640.*sin(x(6) + (-1).*x(7) + (-1) ...
  .*x(8) + (-1).*x(9)) + 40640.*sin(x(9)) + 40640.*sin(x(8) + x(9))) ...
  .^2,(169699290094193981647407359/70780108657375000000000000) + ( ...
  2448732045805641/1721640625000000).*cos(x(6)) + ( ...
  -109545865617/97656250000).*cos(x(6) + (-1).*x(7)) + ( ...
  -47206312877/97656250000).*cos(x(6) + (-1).*x(7) + (-1).*x(8)) + ( ...
  47206312877/48828125000).*cos(x(8)) + (-642155561/31250000000).* ...
  cos(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + ( ...
  642155561/15625000000).*cos(x(9)) + (642155561/15625000000).*cos( ...
  x(8) + x(9)) + (-150200487/110346875000).*sin(x(6)) + ( ...
  1673872827/31250000000).*sin(x(6) + (-1).*x(7) + (-1).*x(8) + (-1) ...
  .*x(9)) + (1673872827/15625000000).*sin(x(9)) + ( ...
  1673872827/15625000000).*sin(x(8) + x(9)),( ...
  1/3211875875000000000000).*((-4404156723846281554157) +  ...
  3602920683327839128320.*cos(x(6) + (-1).*x(7)) +  ...
  1552597170967942577920.*cos(x(6) + (-1).*x(7) + (-1).*x(8)) + ( ...
  -3105194341935885155840).*cos(x(8)) + 66000766539935708000.*cos(x( ...
  6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + ( ...
  -132001533079871416000).*cos(x(9)) + (-132001533079871416000).* ...
  cos(x(8) + x(9)) + (-172040696027499156000).*sin(x(6) + (-1).*x(7) ...
   + (-1).*x(8) + (-1).*x(9)) + (-344081392054998312000).*sin(x(9))  ...
  + (-344081392054998312000).*sin(x(8) + x(9))),(-9611961/256950070) ...
   + (225526251/1953125000000).*((-1167) + 2540.*cos(x(6) + (-1).*x( ...
  7) + (-1).*x(8)) + (-2540).*cos(x(8))) + (-1151/10000000000000).*( ...
  4393 + 40640.*cos(x(9))).*(4393 + (-40640).*cos(x(6) + (-1).*x(7)  ...
  + (-1).*x(8) + (-1).*x(9)) + 40640.*cos(x(9)) + 40640.*cos(x(8) +  ...
  x(9))) + (-1151/10000000000000).*(11451 + 40640.*sin(x(9))).*( ...
  11451 + 40640.*sin(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) +  ...
  40640.*sin(x(9)) + 40640.*sin(x(8) + x(9))),(-381/42415) + ( ...
  -5056343/10000000000000).*(4393 + (-40640).*cos(x(6) + (-1).*x(7)  ...
  + (-1).*x(8) + (-1).*x(9)) + 40640.*cos(x(9)) + 40640.*cos(x(8) +  ...
  x(9))) + (-13180101/10000000000000).*(11451 + 40640.*sin(x(6) + ( ...
  -1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*sin(x(9)) + 40640.* ...
  sin(x(8) + x(9)));(-19281354691383/5509250000000).*cos(x(3) + x(4) ...
   + x(5) + x(6)) + (1/88277500000000).*(243664507767048.*cos(x(3) + ...
   x(4) + x(5) + x(6) + (-1).*x(7)) + 105001707968488.*cos(x(3) + x( ...
  4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + 4463613191825.*cos( ...
  x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9))  ...
  + 295670250000.*sin(x(3) + x(4) + x(5) + x(6)) + (-11635063660275) ...
  .*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).* ...
  x(9))),(-1182681/353110000).*cos(x(3) + x(4) + x(5) + x(6)) + ( ...
  1/55092500000000).*(7261247143425.*cos(x(3) + x(4) + x(5) + x(6) + ...
   (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + (-192813546913830).*sin( ...
  x(3) + x(4) + x(5) + x(6)) + 22037.*(6900526968.*sin(x(3) + x(4) + ...
   x(5) + x(6) + (-1).*x(7)) + 2973626008.*sin(x(3) + x(4) + x(5) +  ...
  x(6) + (-1).*x(7) + (-1).*x(8)) + 126408575.*sin(x(3) + x(4) + x( ...
  5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)))),( ...
  2741345295594107/12847503500000000) + ( ...
  19281354691383/55092500000000000).*(2511 + 4064.*cos(x(6)) +  ...
  4064.*cos(x(5) + x(6)) + 508.*cos(x(4) + x(5) + x(6))) + ( ...
  -225526251/3906250000000).*((-2334) + 5080.*cos(x(6) + (-1).*x(7)) ...
   + 5080.*cos(x(5) + x(6) + (-1).*x(7)) + 635.*cos(x(4) + x(5) + x( ...
  6) + (-1).*x(7))) + (-193253/3906250000000).*((-2334) + 5080.*cos( ...
  x(6) + (-1).*x(7) + (-1).*x(8)) + 5080.*cos(x(5) + x(6) + (-1).*x( ...
  7) + (-1).*x(8)) + 635.*cos(x(4) + x(5) + x(6) + (-1).*x(7) + (-1) ...
  .*x(8)) + (-5080).*cos(x(8))).*(1167 + 2540.*cos(x(8))) + ( ...
  1151/10000000000000).*(4393 + 40640.*cos(x(9)) + 40640.*cos(x(8) + ...
   x(9))).*(4393 + (-40640).*cos(x(6) + (-1).*x(7) + (-1).*x(8) + ( ...
  -1).*x(9)) + (-40640).*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + ...
   (-1).*x(9)) + (-5080).*cos(x(4) + x(5) + x(6) + (-1).*x(7) + (-1) ...
  .*x(8) + (-1).*x(9)) + 40640.*cos(x(9)) + 40640.*cos(x(8) + x(9))) ...
   + (-150200487/882775000000).*(8.*sin(x(6)) + 8.*sin(x(5) + x(6))  ...
  + sin(x(4) + x(5) + x(6))) + (3116977637/39062500000).*sin(x(8)).* ...
  (8.*sin(x(6) + (-1).*x(7) + (-1).*x(8)) + 8.*sin(x(5) + x(6) + ( ...
  -1).*x(7) + (-1).*x(8)) + sin(x(4) + x(5) + x(6) + (-1).*x(7) + ( ...
  -1).*x(8)) + 8.*sin(x(8))) + (1151/10000000000000).*(11451 +  ...
  40640.*sin(x(9)) + 40640.*sin(x(8) + x(9))).*(11451 + 40640.*sin( ...
  x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*sin(x(5) +  ...
  x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 5080.*sin(x(4) + x( ...
  5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*sin(x( ...
  9)) + 40640.*sin(x(8) + x(9))),( ...
  2741345295594107/12847503500000000) + ( ...
  19281354691383/55092500000000000).*(2511 + 4064.*cos(x(6)) +  ...
  4064.*cos(x(5) + x(6))) + (-225526251/1953125000000).*((-1167) +  ...
  2540.*cos(x(6) + (-1).*x(7)) + 2540.*cos(x(5) + x(6) + (-1).*x(7)) ...
  ) + (193253/1953125000000).*(1167 + 2540.*cos(x(8))).*(1167 + ( ...
  -2540).*cos(x(6) + (-1).*x(7) + (-1).*x(8)) + (-2540).*cos(x(5) +  ...
  x(6) + (-1).*x(7) + (-1).*x(8)) + 2540.*cos(x(8))) + ( ...
  1151/10000000000000).*(4393 + 40640.*cos(x(9)) + 40640.*cos(x(8) + ...
   x(9))).*(4393 + (-40640).*cos(x(6) + (-1).*x(7) + (-1).*x(8) + ( ...
  -1).*x(9)) + (-40640).*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + ...
   (-1).*x(9)) + 40640.*cos(x(9)) + 40640.*cos(x(8) + x(9))) + ( ...
  -150200487/55173437500).*cos((1/2).*x(5)).*sin((1/2).*x(5) + x(6)) ...
   + (3116977637/4882812500).*sin(x(8)).*(sin(x(6) + (-1).*x(7) + ( ...
  -1).*x(8)) + sin(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + sin(x(8) ...
  )) + (1151/10000000000000).*(11451 + 40640.*sin(x(9)) + 40640.* ...
  sin(x(8) + x(9))).*(11451 + 40640.*sin(x(6) + (-1).*x(7) + (-1).* ...
  x(8) + (-1).*x(9)) + 40640.*sin(x(5) + x(6) + (-1).*x(7) + (-1).* ...
  x(8) + (-1).*x(9)) + 40640.*sin(x(9)) + 40640.*sin(x(8) + x(9))),( ...
  169699290094193981647407359/70780108657375000000000000) + ( ...
  2448732045805641/1721640625000000).*cos(x(6)) + ( ...
  -109545865617/97656250000).*cos(x(6) + (-1).*x(7)) + ( ...
  -47206312877/97656250000).*cos(x(6) + (-1).*x(7) + (-1).*x(8)) + ( ...
  47206312877/48828125000).*cos(x(8)) + (-642155561/31250000000).* ...
  cos(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + ( ...
  642155561/15625000000).*cos(x(9)) + (642155561/15625000000).*cos( ...
  x(8) + x(9)) + (-150200487/110346875000).*sin(x(6)) + ( ...
  1673872827/31250000000).*sin(x(6) + (-1).*x(7) + (-1).*x(8) + (-1) ...
  .*x(9)) + (1673872827/15625000000).*sin(x(9)) + ( ...
  1673872827/15625000000).*sin(x(8) + x(9)),( ...
  4544490011160581859589345713/3645175595854812500000000000) + ( ...
  193253/1953125000000).*(1167 + 2540.*cos(x(8))).^2 + ( ...
  1151/10000000000000).*(4393 + 40640.*cos(x(9)) + 40640.*cos(x(8) + ...
   x(9))).^2 + (3116977637/4882812500).*sin(x(8)).^2 + ( ...
  1151/10000000000000).*(11451 + 40640.*sin(x(9)) + 40640.*sin(x(8)  ...
  + x(9))).^2,(1/3211875875000000000000).*((-4404156723846281554157) ...
   + (-3105194341935885155840).*cos(x(8)) + (-132001533079871416000) ...
  .*cos(x(9)) + (-132001533079871416000).*cos(x(8) + x(9)) + ( ...
  -344081392054998312000).*sin(x(9)) + (-344081392054998312000).* ...
  sin(x(8) + x(9))),(1/3211875875000000000000).*(( ...
  -1219147082633212560941) + (-1552597170967942577920).*cos(x(8)) +  ...
  (-132001533079871416000).*cos(x(9)) + (-66000766539935708000).* ...
  cos(x(8) + x(9)) + (-344081392054998312000).*sin(x(9)) + ( ...
  -172040696027499156000).*sin(x(8) + x(9))),(-381/42415) + ( ...
  -5056343/10000000000000).*(4393 + 40640.*cos(x(9)) + 40640.*cos(x( ...
  8) + x(9))) + (-13180101/10000000000000).*(11451 + 40640.*sin(x(9) ...
  ) + 40640.*sin(x(8) + x(9)));(1/2500000000).*((-6900526968).*cos( ...
  x(3) + x(4) + x(5) + x(6) + (-1).*x(7)) + (-2973626008).*cos(x(3)  ...
  + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + (-28775).*( ...
  4393.*cos(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + ( ...
  -1).*x(9)) + (-11451).*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7)  ...
  + (-1).*x(8) + (-1).*x(9)))),(1/2500000000).*((-329502525).*cos(x( ...
  3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) +  ...
  (-6900526968).*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7)) + ( ...
  -2973626008).*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).* ...
  x(8)) + (-126408575).*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + ...
   (-1).*x(8) + (-1).*x(9))),(-8457912/128475035) + ( ...
  225526251/3906250000000).*((-2334) + 5080.*cos(x(6) + (-1).*x(7))  ...
  + 5080.*cos(x(5) + x(6) + (-1).*x(7)) + 635.*cos(x(4) + x(5) + x( ...
  6) + (-1).*x(7))) + (193253/3906250000000).*((-2334) + 5080.*cos( ...
  x(6) + (-1).*x(7) + (-1).*x(8)) + 5080.*cos(x(5) + x(6) + (-1).*x( ...
  7) + (-1).*x(8)) + 635.*cos(x(4) + x(5) + x(6) + (-1).*x(7) + (-1) ...
  .*x(8)) + (-5080).*cos(x(8))).*(1167 + 2540.*cos(x(8))) + ( ...
  1151/10000000000000).*((-4393) + 40640.*cos(x(6) + (-1).*x(7) + ( ...
  -1).*x(8) + (-1).*x(9)) + 40640.*cos(x(5) + x(6) + (-1).*x(7) + ( ...
  -1).*x(8) + (-1).*x(9)) + 5080.*cos(x(4) + x(5) + x(6) + (-1).*x( ...
  7) + (-1).*x(8) + (-1).*x(9)) + (-40640).*cos(x(9)) + (-40640).* ...
  cos(x(8) + x(9))).*(4393 + 40640.*cos(x(9)) + 40640.*cos(x(8) + x( ...
  9))) + (-3116977637/39062500000).*sin(x(8)).*(8.*sin(x(6) + (-1).* ...
  x(7) + (-1).*x(8)) + 8.*sin(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) ...
   + sin(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + 8.*sin(x(8) ...
  )) + (-1151/10000000000000).*(11451 + 40640.*sin(x(9)) + 40640.* ...
  sin(x(8) + x(9))).*(11451 + 40640.*sin(x(6) + (-1).*x(7) + (-1).* ...
  x(8) + (-1).*x(9)) + 40640.*sin(x(5) + x(6) + (-1).*x(7) + (-1).* ...
  x(8) + (-1).*x(9)) + 5080.*sin(x(4) + x(5) + x(6) + (-1).*x(7) + ( ...
  -1).*x(8) + (-1).*x(9)) + 40640.*sin(x(9)) + 40640.*sin(x(8) + x( ...
  9))),(1/3211875875000000000000).*((-4404156723846281554157) +  ...
  3602920683327839128320.*cos(x(6) + (-1).*x(7)) +  ...
  3602920683327839128320.*cos(x(5) + x(6) + (-1).*x(7)) +  ...
  1552597170967942577920.*cos(x(6) + (-1).*x(7) + (-1).*x(8)) +  ...
  1552597170967942577920.*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) ...
   + (-3105194341935885155840).*cos(x(8)) + 66000766539935708000.* ...
  cos(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) +  ...
  66000766539935708000.*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8) +  ...
  (-1).*x(9)) + (-132001533079871416000).*cos(x(9)) + ( ...
  -132001533079871416000).*cos(x(8) + x(9)) + ( ...
  -172040696027499156000).*sin(x(6) + (-1).*x(7) + (-1).*x(8) + (-1) ...
  .*x(9)) + (-172040696027499156000).*sin(x(5) + x(6) + (-1).*x(7) + ...
   (-1).*x(8) + (-1).*x(9)) + (-344081392054998312000).*sin(x(9)) +  ...
  (-344081392054998312000).*sin(x(8) + x(9))),( ...
  1/3211875875000000000000).*((-4404156723846281554157) +  ...
  3602920683327839128320.*cos(x(6) + (-1).*x(7)) +  ...
  1552597170967942577920.*cos(x(6) + (-1).*x(7) + (-1).*x(8)) + ( ...
  -3105194341935885155840).*cos(x(8)) + 66000766539935708000.*cos(x( ...
  6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + ( ...
  -132001533079871416000).*cos(x(9)) + (-132001533079871416000).* ...
  cos(x(8) + x(9)) + (-172040696027499156000).*sin(x(6) + (-1).*x(7) ...
   + (-1).*x(8) + (-1).*x(9)) + (-344081392054998312000).*sin(x(9))  ...
  + (-344081392054998312000).*sin(x(8) + x(9))),( ...
  1/3211875875000000000000).*((-4404156723846281554157) + ( ...
  -3105194341935885155840).*cos(x(8)) + (-132001533079871416000).* ...
  cos(x(9)) + (-132001533079871416000).*cos(x(8) + x(9)) + ( ...
  -344081392054998312000).*sin(x(9)) + (-344081392054998312000).* ...
  sin(x(8) + x(9))),( ...
  460172339651479500078171/330823215125000000000000) + ( ...
  47206312877/48828125000).*cos(x(8)) + (642155561/15625000000).* ...
  cos(x(9)) + (642155561/15625000000).*cos(x(8) + x(9)) + ( ...
  1673872827/15625000000).*sin(x(9)) + (1673872827/15625000000).* ...
  sin(x(8) + x(9)),(1/3211875875000000000000).*( ...
  1219147082633212560941 + 1552597170967942577920.*cos(x(8)) +  ...
  132001533079871416000.*cos(x(9)) + 66000766539935708000.*cos(x(8)  ...
  + x(9)) + 344081392054998312000.*sin(x(9)) +  ...
  172040696027499156000.*sin(x(8) + x(9))),(1/8483000000000000).*( ...
  223072839300205 + 174316979966816.*cos(x(9)) + 174316979966816.* ...
  cos(x(8) + x(9)) + 454382822126112.*sin(x(9)) + 454382822126112.* ...
  sin(x(8) + x(9)));(1/2500000000).*((-2973626008).*cos(x(3) + x(4)  ...
  + x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + (-28775).*(4393.*cos(x( ...
  3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) +  ...
  (-11451).*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8)  ...
  + (-1).*x(9)))),(1/2500000000).*((-329502525).*cos(x(3) + x(4) +  ...
  x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + ( ...
  -2973626008).*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).* ...
  x(8)) + (-126408575).*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + ...
   (-1).*x(8) + (-1).*x(9))),(-9611961/256950070) + ( ...
  225526251/3906250000000).*((-2334) + 5080.*cos(x(6) + (-1).*x(7) + ...
   (-1).*x(8)) + 5080.*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) +  ...
  635.*cos(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8)) + (-5080).* ...
  cos(x(8))) + (1151/10000000000000).*(4393 + 40640.*cos(x(9))).*(( ...
  -4393) + 40640.*cos(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + ...
   40640.*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) +  ...
  5080.*cos(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x( ...
  9)) + (-40640).*cos(x(9)) + (-40640).*cos(x(8) + x(9))) + ( ...
  -1151/10000000000000).*(11451 + 40640.*sin(x(9))).*(11451 +  ...
  40640.*sin(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.* ...
  sin(x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 5080.* ...
  sin(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) +  ...
  40640.*sin(x(9)) + 40640.*sin(x(8) + x(9))),(-9611961/256950070) + ...
   (225526251/1953125000000).*((-1167) + 2540.*cos(x(6) + (-1).*x(7) ...
   + (-1).*x(8)) + 2540.*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8))  ...
  + (-2540).*cos(x(8))) + (1151/10000000000000).*(4393 + 40640.*cos( ...
  x(9))).*((-4393) + 40640.*cos(x(6) + (-1).*x(7) + (-1).*x(8) + ( ...
  -1).*x(9)) + 40640.*cos(x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + ( ...
  -1).*x(9)) + (-40640).*cos(x(9)) + (-40640).*cos(x(8) + x(9))) + ( ...
  -1151/10000000000000).*(11451 + 40640.*sin(x(9))).*(11451 +  ...
  40640.*sin(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.* ...
  sin(x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.* ...
  sin(x(9)) + 40640.*sin(x(8) + x(9))),(-9611961/256950070) + ( ...
  225526251/1953125000000).*((-1167) + 2540.*cos(x(6) + (-1).*x(7) + ...
   (-1).*x(8)) + (-2540).*cos(x(8))) + (-1151/10000000000000).*( ...
  4393 + 40640.*cos(x(9))).*(4393 + (-40640).*cos(x(6) + (-1).*x(7)  ...
  + (-1).*x(8) + (-1).*x(9)) + 40640.*cos(x(9)) + 40640.*cos(x(8) +  ...
  x(9))) + (-1151/10000000000000).*(11451 + 40640.*sin(x(9))).*( ...
  11451 + 40640.*sin(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) +  ...
  40640.*sin(x(9)) + 40640.*sin(x(8) + x(9))),( ...
  1/3211875875000000000000).*((-1219147082633212560941) + ( ...
  -1552597170967942577920).*cos(x(8)) + (-132001533079871416000).* ...
  cos(x(9)) + (-66000766539935708000).*cos(x(8) + x(9)) + ( ...
  -344081392054998312000).*sin(x(9)) + (-172040696027499156000).* ...
  sin(x(8) + x(9))),(1/3211875875000000000000).*( ...
  1219147082633212560941 + 1552597170967942577920.*cos(x(8)) +  ...
  132001533079871416000.*cos(x(9)) + 66000766539935708000.*cos(x(8)  ...
  + x(9)) + 344081392054998312000.*sin(x(9)) +  ...
  172040696027499156000.*sin(x(8) + x(9))),( ...
  132116346606533393776923/330823215125000000000000) + ( ...
  642155561/15625000000).*cos(x(9)) + (1673872827/15625000000).*sin( ...
  x(9)),(1/8483000000000000).*(223072839300205 + 174316979966816.* ...
  cos(x(9)) + 454382822126112.*sin(x(9)));(-1151/100000000).*(4393.* ...
  cos(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x( ...
  9)) + (-11451).*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1) ...
  .*x(8) + (-1).*x(9))),(-1151/100000000).*(11451.*cos(x(3) + x(4) + ...
   x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 4393.*sin( ...
  x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9))) ...
  ,(-381/42415) + (5056343/10000000000000).*((-4393) + 40640.*cos(x( ...
  6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*cos(x(5) + x( ...
  6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 5080.*cos(x(4) + x(5) ...
   + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + (-40640).*cos(x( ...
  9)) + (-40640).*cos(x(8) + x(9))) + (-13180101/10000000000000).*( ...
  11451 + 40640.*sin(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) +  ...
  40640.*sin(x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) +  ...
  5080.*sin(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x( ...
  9)) + 40640.*sin(x(9)) + 40640.*sin(x(8) + x(9))),(-381/42415) + ( ...
  5056343/10000000000000).*((-4393) + 40640.*cos(x(6) + (-1).*x(7) + ...
   (-1).*x(8) + (-1).*x(9)) + 40640.*cos(x(5) + x(6) + (-1).*x(7) +  ...
  (-1).*x(8) + (-1).*x(9)) + (-40640).*cos(x(9)) + (-40640).*cos(x( ...
  8) + x(9))) + (-13180101/10000000000000).*(11451 + 40640.*sin(x(6) ...
   + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*sin(x(5) + x(6)  ...
  + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 40640.*sin(x(9)) +  ...
  40640.*sin(x(8) + x(9))),(-381/42415) + (-5056343/10000000000000) ...
  .*(4393 + (-40640).*cos(x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x( ...
  9)) + 40640.*cos(x(9)) + 40640.*cos(x(8) + x(9))) + ( ...
  -13180101/10000000000000).*(11451 + 40640.*sin(x(6) + (-1).*x(7) + ...
   (-1).*x(8) + (-1).*x(9)) + 40640.*sin(x(9)) + 40640.*sin(x(8) +  ...
  x(9))),(-381/42415) + (-5056343/10000000000000).*(4393 + 40640.* ...
  cos(x(9)) + 40640.*cos(x(8) + x(9))) + (-13180101/10000000000000) ...
  .*(11451 + 40640.*sin(x(9)) + 40640.*sin(x(8) + x(9))),( ...
  1/8483000000000000).*(223072839300205 + 174316979966816.*cos(x(9)) ...
   + 174316979966816.*cos(x(8) + x(9)) + 454382822126112.*sin(x(9))  ...
  + 454382822126112.*sin(x(8) + x(9))),(1/8483000000000000).*( ...
  223072839300205 + 174316979966816.*cos(x(9)) + 454382822126112.* ...
  sin(x(9))),(8052122989584223/174749800000000000)];
